<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">
<body>
	<ui:composition>
		<div class="divMenu">
			<br />
			<h:form>
				<div>
					<br />
				</div>
				<p:menubar style="width:85%;">
					<p:menuitem value="Início" url="${facesContext.externalContext.requestContextPath}/../pages/home.jsf" immediate="true" ajax="true"/>
					<p:submenu label="Cadastros">
						<p:menuitem value="Clientes" url="${facesContext.externalContext.requestContextPath}/../pages/customer.jsf"/>
						<p:menuitem value="Fornecedores" url="${facesContext.externalContext.requestContextPath}/../pages/supplier.jsf"/>
						<p:menuitem value="Produtos" url="${facesContext.externalContext.requestContextPath}/../pages/product.jsf"/>
					</p:submenu>
				</p:menubar>
				<p:spacer height="5"/>
				<div align="right" style="width:85%;">
					<h:outputText value="Bem vindo João da Silva" styleClass="linkMenu"/>
					<p:spacer width="5"/>
					<h:commandLink value="Sair" styleClass="linkMenu"/>
				</div>				
				<p:spacer height="10"/>
			</h:form>
		</div>
	</ui:composition>
</body>
</html>